<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="css/fonts/font-awesome.min.css">
        <link rel="stylesheet" href="css/ui-box.css">
        <link rel="stylesheet" href="css/ui-base.css">
        <link rel="stylesheet" href="css/ui-color.css">
        <link rel="stylesheet" href="css/appcan.icon.css">
        <link rel="stylesheet" href="css/appcan.control.css">
        <link rel="stylesheet" href="css/bjscPage.css">
    </head>
    <body class="um-vp " ontouchstart>
        <div id="page_0" class="up ub ub-ver bc-bg" tabindex="0">   
            <!--header开始-->
            <div id="header" class="uh bc-text-head ub bc-head" style="background:#383C59">
                <div class="nav-btn" id="nav-left">
                     <div class="fa fa-angle-left fa-2x"></div>
                </div>
                <h1 class="ut ub-f1 ulev-3 ut-s tx-c" tabindex="0">航班列表</h1>
                 <div class="nav-btn ub ub-pc" id="nav-right " style="min-height:2em; min-width: 5em">  
                    <div class="sortIco">
                    </div>
                    <div class="searIco">
                    </div>
                </div>
            </div>
            <!--header结束--><!--content开始-->
            <div id="content" class="ub-f1 tx-l">
            </div>
            <!--content结束-->
        </div>
        <script src="js/appcan.js"></script>
        <script src="js/appcan.control.js"></script>
        <script src="js/bjscPage.js"></script>
    </body>
    <script>
        appcan.ready(function(){
            var titHeight = $('#header').offset().height;
            appcan.frame.open("content", "bjscPage_content.html", 0, titHeight);
            window.onorientationchange = window.onresize = function(){
                appcan.frame.resize("content", 0, titHeight);
            }
            uexWindow.setReportKey(0,1);
            uexWindow.onKeyPressed = function(keyCode){
                if(keyCode==0){
                       uexWindow.setOrientation(1); 
                         //退出的时候 关闭震动  关闭音乐
                        uexAudio.stop();
                        uexDevice.cancelVibrate(); 
                        uexWidget.finishWidget('');  
                }
            }

            uexWindow.onNotification = onNotification;
            uexWindow.subscribeChannelNotification("bjscUpgrade", "onNotification");
            function  onNotification(res){
               if(res==0){
                //程序挂起的时候
                     uexWindow.evaluatePopoverScript("bjscPage", "content", "onSuspend()");
               }else if(res==1){
                  //程序恢复的时候  
                     uexWindow.evaluatePopoverScript("bjscPage", "content", "onResume()");
               }
            }

        });
        appcan.button("#nav-left", "btn-act", function(){
            //退出的时候 关闭震动  关闭音乐
            uexAudio.stop();
            uexDevice.cancelVibrate();
            //appcan.window.close(-1); 
            uexWidget.finishWidget('');
            //IC.talkingDataCount("白金卡升舱","00010");

        })

        // uexWindow.subscribeChannelNotification('bjsc', 'onNotification');
        // uexWindow.onNotification = function(cb){
        //     alert(cb);
        // };
       
              






         
    </script>
</html>